package com.itlong.cloud.operate.service;

import com.itlong.cloud.POJO.DTO.operate.OperateDeviceWhiteListAuthFileConsumeRecordsDTO;
import com.itlong.cloud.POJO.VO.operate.OperateDeviceWhiteListAuthFileConsumeRecordsVO;
import com.itlong.cloud.utils.page.Page;

/**
 * <desc>
 *  运营-设备白名单授权文件消费记录管理服务接口
 * </desc>
 * 
 * @author: chengshican
 *  @Date: 2020-08-11 14:25
 *  
 */

public interface IOperateDeviceWhiteListAuthFileConsumeRecordsService {

    /**
     *<desc>
     * 保存授权文件消费信记录信息
     *</desc>
     *
     * @Author  chengshican
     * @Date   2020-08-11 11:23
     * @Param  recordsDTO 保存参数DTO
     * @Return 保存结果
     * @Exception
     *
     */
    Integer save(OperateDeviceWhiteListAuthFileConsumeRecordsDTO recordsDTO) throws Exception;


    /**
     *<desc>
     *   分页获取设备白名单消费授权文件消费记录信息
     *</desc>
     *
     * @Author  chengshican
     * @Date   2020-08-11 14:20
     * @Param recordsDTO 查询参数DTO
     * @Return
     * @Exception
     *
     */
    Page<OperateDeviceWhiteListAuthFileConsumeRecordsVO> getWhiteListAuthFileConsumeRecordsByPage(OperateDeviceWhiteListAuthFileConsumeRecordsDTO recordsDTO)  throws Exception;;


    /**
     *<desc>
     * 根据授权规则id  ruleId查询授权文件消费信息
     *</desc>
     *
     * @Author  chengshican
     * @Date   2020-08-11 14:22
     * @Param ruleId 规则id
     * @Return
     * @Exception
     *
     */
    OperateDeviceWhiteListAuthFileConsumeRecordsVO getWhiteListAuthFileConsumeRecordsByRuleId(String ruleId);

}
